<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/3
  Time: 17:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <title>订购详情列表</title>
    <base href="<%=request.getContextPath()%>/"/>
</head>
<body>
<h1>配件订购列表</h1>
    <table border="1px">
        <tr>
            <th>订单ID</th>
            <th>用户ID</th>
            <th>订单编号</th>
            <th>订单日期</th>
            <th>报厂车型号</th>
            <th>最终处理状态</th>
            <th>客户确认状态</th>
            <th>业务确认状态</th>
            <th>
                <a href="sale_order/preadd">添加</a>
            </th>
        </tr>
        <c:forEach items="${saleOrderList}" var="Order">
            <tr>
                <td>${Order.orderId}</td>
                <td>${Order.userId}</td>
                <td>${Order.orderNo}</td>
                <td>${Order.orderDate}</td>
                <td>${Order.makeCarNo}</td>
                <td>${Order.orderStateString}</td>
                <td>${Order.custStateString}</td>
                <td>${Order.busiStateString}</td>
                <td>
                    <a href="sale_order/delete/${Order.orderId}">删除</a>
                    <a href="sale_order/preupdate/${Order.orderId}">更新</a>
                </td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>
